package com.zhixiang.xaec.entity.safebase.emergency;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;
@Comment("应急演练")
@Entity
@Table(name="SAFEBASE_EmergencyPlan")
public class EmergencyPlan extends BaseEntity{
    private Long emergencyId;//预案id外键
    private String emergencyNo;//预案编号
    private String emergencyName;//预案名称
    private String exerciseTheme;//演练主题
    private String exerciseMode;//演练方式
    private String exercisePlance;//演练地点
    private Date exerciseTimeDate;//演练时间
    private String exerciseContent;//演练内容
    private String exerciseSummary;//演练总结（附件）
    private BigDecimal exerciseFunds;//演练经费
    private String exerciseOrgainzer;//演练组织者
    private String exercisePeople;//演练人员
    private String exerciseSite;//演练现场（照片等的上传）
    private Long emgPlanReviewId;//应急演练评审
    @Comment("演练主题")
    @Column(length=2000)
    public String getExerciseTheme() {
        return exerciseTheme;
    }
    public void setExerciseTheme(String exerciseTheme) {
        this.exerciseTheme = exerciseTheme;
    }
    @Comment("演练方式")
    public String getExerciseMode() {
        return exerciseMode;
    }
    public void setExerciseMode(String exerciseMode) {
        this.exerciseMode = exerciseMode;
    }
    @Comment("演练地点")
    @Column(length=5000)
    public String getExercisePlance() {
        return exercisePlance;
    }
    public void setExercisePlance(String exercisePlance) {
        this.exercisePlance = exercisePlance;
    }
    @JSON(format="yyyy-MM-dd")
    public Date getExerciseTimeDate() {
        return exerciseTimeDate;
    }
    public void setExerciseTimeDate(Date exerciseTimeDate) {
        this.exerciseTimeDate = exerciseTimeDate;
    }
    @Comment("演练内容")
    @Column(length=5000)
    public String getExerciseContent() {
        return exerciseContent;
    }
    public void setExerciseContent(String exerciseContent) {
        this.exerciseContent = exerciseContent;
    }
    public String getExerciseSummary() {
        return exerciseSummary;
    }
    public void setExerciseSummary(String exerciseSummary) {
        this.exerciseSummary = exerciseSummary;
    }
    @Comment("演练经费")
    public BigDecimal getExerciseFunds() {
        return exerciseFunds;
    }
    public void setExerciseFunds(BigDecimal exerciseFunds) {
        this.exerciseFunds = exerciseFunds;
    }
    @Comment("演练组织者")
    public String getExerciseOrgainzer() {
        return exerciseOrgainzer;
    }
    public void setExerciseOrgainzer(String exerciseOrgainzer) {
        this.exerciseOrgainzer = exerciseOrgainzer;
    }
    @Comment("演练人员")
    public String getExercisePeople() {
        return exercisePeople;
    }
    public void setExercisePeople(String exercisePeople) {
        this.exercisePeople = exercisePeople;
    }
    @Comment("演练现场（照片等的上传）")
    public String getExerciseSite() {
        return exerciseSite;
    }
    public void setExerciseSite(String exerciseSite) {
        this.exerciseSite = exerciseSite;
    }
    @Comment("应急演练评审外键")
    public Long getEmgPlanReviewId() {
        return emgPlanReviewId;
    }
    public void setEmgPlanReviewId(Long emgPlanReviewId) {
        this.emgPlanReviewId = emgPlanReviewId;
    }
    @Comment("预案id外键")
    public Long getEmergencyId() {
        return emergencyId;
    }
    public void setEmergencyId(Long emergencyId) {
        this.emergencyId = emergencyId;
    }
    @Comment("预案编号")
    public String getEmergencyNo() {
        return emergencyNo;
    }
    public void setEmergencyNo(String emergencyNo) {
        this.emergencyNo = emergencyNo;
    }
    @Comment("预案名称")
    public String getEmergencyName() {
        return emergencyName;
    }
    public void setEmergencyName(String emergencyName) {
        this.emergencyName = emergencyName;
    }

}
